<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div style="width: 80%;height: 80%;text-align: center;border: black solid 2px;margin-left: 10%;margin-top: 50px">
    <div style="margin-top: 10px">
        <form th:action="@{/goods/updateGoods}"  method="post" enctype="multipart/form-data">
            <input type="hidden" name="goodsId" th:value="${goods.goodsId}">
            分类Id：<input type="text" name="classifySecId" th:value="${goods.classifySecId}"><br>
            卖家Id：<input type="text" name="sellerId" value="1"><br>
            商品名：<input type="text" name="goodsName" th:value="${goods.goodsName}"><br>
            商品价格：<input type="text" name="goodsPrice" th:value="${goods.goodsPrice}"><br>
            商品数量：<input type="text" name="goodsNumber" th:value="${goods.goodsNumber}"><br>
            商品卖出数量：<input type="text" name="goodsSellNumber" th:value="${goods.goodsSellNumber}"><br>
            商品介绍：<input type="text" name="goodsIntroduce" th:value="${goods.goodsIntroduce}"><br>
            商品照片：<input type="file" name="picture" accept="image/*">
            <img width="50px" height="50px" th:src="${goods.goodsPicture}">
            <br>
            <input type="hidden" name="goodsState" value="0">
            <input type="submit" th:value="确认修改">
        </form>
    </div>
</div>

</body>
</html>